package com.hxqh.bo.bean;

import javax.persistence.Transient;

/**
 * FpsUserPolicyHoldInfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class FpsUserPolicyHoldInfo implements java.io.Serializable {

	// Fields

	private Long orderRef;
	private Integer userId;
	private String futuresCode;
	private Integer holdNum;
	private Double openPrice;
	private Double profitLostTick;
	private Double profitLostFund;
	private Double stopProfitPrice;
	private Double stopLostPrice;
	private Integer policyId;
	private Integer sell;
	private Integer automatic;
	private String policyName;
	
	@Transient
	private boolean status;

	// Constructors

	/** default constructor */
	public FpsUserPolicyHoldInfo() {
	}

	/** minimal constructor */
	public FpsUserPolicyHoldInfo(Long orderRef, Integer userId, Integer policyId) {
		this.orderRef = orderRef;
		this.userId = userId;
		this.policyId = policyId;
	}

	/** full constructor */
	public FpsUserPolicyHoldInfo(Long orderRef, Integer userId,
			String futuresCode, Integer holdNum, Double openPrice,
			Double profitLostTick, Double profitLostFund,
			Double stopProfitPrice, Double stopLostPrice, Integer policyId,
			Integer sell, Integer automatic, String policyName) {
		this.orderRef = orderRef;
		this.userId = userId;
		this.futuresCode = futuresCode;
		this.holdNum = holdNum;
		this.openPrice = openPrice;
		this.profitLostTick = profitLostTick;
		this.profitLostFund = profitLostFund;
		this.stopProfitPrice = stopProfitPrice;
		this.stopLostPrice = stopLostPrice;
		this.policyId = policyId;
		this.sell = sell;
		this.automatic = automatic;
		this.policyName = policyName;
	}

	// Property accessors

	public Long getOrderRef() {
		return this.orderRef;
	}

	public void setOrderRef(Long orderRef) {
		this.orderRef = orderRef;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getFuturesCode() {
		return this.futuresCode;
	}

	public void setFuturesCode(String futuresCode) {
		this.futuresCode = futuresCode;
	}

	public Integer getHoldNum() {
		return this.holdNum;
	}

	public void setHoldNum(Integer holdNum) {
		this.holdNum = holdNum;
	}

	public Double getOpenPrice() {
		return this.openPrice;
	}

	public void setOpenPrice(Double openPrice) {
		this.openPrice = openPrice;
	}

	public Double getProfitLostTick() {
		return this.profitLostTick;
	}

	public void setProfitLostTick(Double profitLostTick) {
		this.profitLostTick = profitLostTick;
	}

	public Double getProfitLostFund() {
		return this.profitLostFund;
	}

	public void setProfitLostFund(Double profitLostFund) {
		this.profitLostFund = profitLostFund;
	}

	public Double getStopProfitPrice() {
		return this.stopProfitPrice;
	}

	public void setStopProfitPrice(Double stopProfitPrice) {
		this.stopProfitPrice = stopProfitPrice;
	}

	public Double getStopLostPrice() {
		return this.stopLostPrice;
	}

	public void setStopLostPrice(Double stopLostPrice) {
		this.stopLostPrice = stopLostPrice;
	}

	public Integer getPolicyId() {
		return this.policyId;
	}

	public void setPolicyId(Integer policyId) {
		this.policyId = policyId;
	}

	public Integer getSell() {
		return this.sell;
	}

	public void setSell(Integer sell) {
		this.sell = sell;
	}

	public Integer getAutomatic() {
		return this.automatic;
	}

	public void setAutomatic(Integer automatic) {
		this.automatic = automatic;
	}

	public String getPolicyName() {
		return this.policyName;
	}

	public void setPolicyName(String policyName) {
		this.policyName = policyName;
	}

	public boolean getStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

}